package com.web.exiaodao.remote.vo;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author eason.zt
 * @ClassName: UserVo
 * @Description:用户 Vo
 * @date 2015年3月23日 下午1:00:00
 */
@ApiModel(value = "用户Vo对象")
public class UserVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "用户名,用户名，昵称")
    private String userName;
    @ApiModelProperty(value = "手机号,手机号")
    private String mobile;
    @ApiModelProperty(value = "头像,头像;单张图片")
    private String photo;
    @ApiModelProperty(value = "备注,备注memo")
    private String memo;
    @ApiModelProperty(value = "生日,生日;yyyy-MM-dd")
    private String birthday;
    @ApiModelProperty(value = "账户亲和币;只有获取详情接口,才有值")
    private Double balanceCoin;
    @ApiModelProperty(value = "推荐人,推荐人手机号")
    private String recommendPhone;
    @ApiModelProperty(value = "支付密码,交易密码，6存数字，要进行加密")
    private String payPassword;
    @ApiModelProperty(value = "配置信息;配置信息")
    private ConfigurationTableVo configurationVo;
    @ApiModelProperty(value = "状态，0为无效，1为正常,2为发布,3删除 参看XaConstant.Status")
    private Integer status;
    @ApiModelProperty(value = "支付宝账号,绑定的支付宝账号")
    private String alipayAccount;
    @ApiModelProperty(value = "账户余额,余额")
    private Double balance;
    @ApiModelProperty(value = "是否是vip用户,是否是vip用户")
    private Boolean vip;
    @ApiModelProperty(value = "vip订单号码,vip订单号码")
    private String vipOrderNo;
    @ApiModelProperty(value = "email,邮箱")
    private String email;

    private int level;//推荐等级，自己是0级；0，1，2...

    public UserVo() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return photo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMemo() {
        return memo;
    }

    public String getUserName() {
        return userName;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Double getBalanceCoin() {
        return balanceCoin;
    }

    public void setBalanceCoin(Double balanceCoin) {
        this.balanceCoin = balanceCoin;
    }

    public ConfigurationTableVo getConfigurationVo() {
        return configurationVo;
    }

    public void setConfigurationVo(ConfigurationTableVo configurationVo) {
        this.configurationVo = configurationVo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRecommendPhone() {
        return recommendPhone;
    }

    public void setRecommendPhone(String recommendPhone) {
        this.recommendPhone = recommendPhone;
    }

    public String getAlipayAccount() {
        return alipayAccount;
    }

    public void setAlipayAccount(String alipayAccount) {
        this.alipayAccount = alipayAccount;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public Boolean getVip() {
        return vip;
    }

    public void setVip(Boolean vip) {
        this.vip = vip;
    }

    public String getVipOrderNo() {
        return vipOrderNo;
    }

    public void setVipOrderNo(String vipOrderNo) {
        this.vipOrderNo = vipOrderNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public static class ApiLogin {
        private String mobile;
        private String password;

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

    }
}

